BDD-Based Synthesis of Reversible Logic
نویسندگان
چکیده
Reversible logic became a promising alternative to traditional circuits because of its applications in emerging technologies such as quantum computing, low-power design, DNA computing, or nanotechnologies. As a result, synthesis of the respective circuits is an intensely studied topic. However, most synthesis methods are limited, because they rely on a truth table representation of the function to be synthesized. In this paper, the authors present a synthesis approach that is based on Binary Decision Diagrams (BDDs). The authors propose a technique to derive reversible or quantum circuits from BDDs by substituting all nodes of the BDD with a cascade of Toffoli or quantum gates, respectively. Boolean functions containing more than a hundred of variables can efficiently be synthesized. More precisely, a circuit can be obtained from a given BDD using an algorithm with linear worst case behavior regarding run-time and space requirements. Furthermore, using the proposed approach, theoretical results known from BDDs can be transferred to reversible circuits. Experiments show better results (with respect to the circuit cost) and a significantly better scalability in comparison to previous synthesis approaches. technologies, while traditional methods suffer from the increasing miniaturization and the exponential growth of the number of transistors in integrated circuits. Researchers expect that in 10-20 years duplication of transistor density every 18 months (according to Moore’s Law) is not possible any longer (Zhirnov, Cavin, Hutchby, & Bourianoff, 2003). Then, alternatives are needed. Reversible logic offers such alternatives as the following applications show: • Reversible Logic for Low-Power Design: Power dissipation and therewith heat generation is a serious problem for today’s DOI: 10.4018/jamc.2010100102 26 International Journal of Applied Metaheuristic Computing, 1(4), 25-41, October-December 2010 Copyright © 2010, IGI Global. Copying or distributing in print or electronic forms without written permission of IGI Global is prohibited. computer chips. Landauer and Bennett showed (Landauer, 1961; Bennett, 1973) that (1) using traditional (irreversible) logic gates always leads to energy dissipation regardless of the underlying technology and (2) that circuits with zero power dissipation must be information-lossless. This holds for reversible logic, since data is bijectively transformed without losing any of the original information. Even if today energy dissipation is mainly caused by non-ideal behaviors of transistors and materials, the theoretically possible zero power dissipation makes reversible logic quite interesting for the future. Moreover, in 2002 first reversible circuits have been physically implemented (Desoete & De Vos, 2002) that exploit these observations in the sense that they are powered by their input signals only and did not need additional power supplies. • Reversible Logic as Basis for Quantum Computation: Quantum circuits (Nielsen & Chuang, 2000) offer a new kind of computation. Here, qubits instead of traditional bits are used that allow to represent not only 0 and 1 but also a superposition of both. As a result, qubits can represent multiple states at the same time enabling enormous speedups in computations. Even if research in the domain of quantum circuits is still at the beginning, first quantum circuits have already been built. Reversible logic is important in this area, because every quantum operation is inherently reversible. Thus, progress in the domain of reversible logic can directly be applied to quantum logic. Further applications of reversible logic can be found in the domain of optical computing (Cuykendall & Andersen, 1987), DNA computing (Bennett, 1973), and nanotechnologies (Merkle, 1993). However, currently the synthesis of reversible or quantum circuits, respectively, is limited. Exact (Hung, Song, Yang, Yang & Perkowski, 2006; Große, Wille, Dueck & Drechsler, 2009) as well as heuristic (Shende, Prasad, Markov & Hayes, 2003; Miller, Maslov & Dueck, 2003; Kerntopf, 2004; Maslov, Dueck & Miller, 2005, 2007; Gupta, Agrawal, & Jha, 2006) methods have been proposed. But both are applicable only for relatively small functions. Exact approaches reach their limits with functions containing more than 6 variables (Große, Wille, Dueck & Drechsler, 2009) while heuristic methods are able to synthesize functions with at most 30 variables (Gupta, Agrawal, & Jha, 2006). Moreover, often a significant amount of run-time is needed to achieve these results. These limitations are caused by the underlying techniques. The existing synthesis approaches often rely on truth tables (or similar descriptions like permutations) of the function to be synthesized (Shende, Prasad, Markov & Hayes, 2003; Miller, Maslov & Dueck, 2003). But even if more compact data-structures like BDDs (Kerntopf, 2004), positive-polarity ReedMuller expansion (Gupta, Agrawal, & Jha, 2006), or Reed-Muller spectra (Maslov, Dueck & Miller, 2007) are used, the same limitations can be observed since all these approaches apply similar strategies (namely selecting reversible gates so that the chosen function representation becomes the identity). In this work, we introduce a synthesis method that can cope with significantly larger functions. The basic idea is as follows: First, for the function to be synthesized a BDD (Bryant, 1986) is built. This can efficiently be done for large functions using existing well-developed techniques. Then, each node of the BDD is substituted by a cascade of reversible gates or quantum gates, respectively. Depending on the respective cases, this may require additional circuit lines. BDD optimization techniques, for example complement edges (Brace, Rudell & Bryant, 1990) or reordering strategies like sifting (Rudell, 1993) thereby may affect the size of the resulting circuit. Thus, we describe how to support these techniques during synthesis and discuss possible improvements and drawbacks. In a case study, we evaluate the effect of these optimization methods on the resulting circuit sizes. 15 more pages are available in the full version of this document, which may be purchased using the "Add to Cart" button on the product's webpage: www.igi-global.com/article/bdd-based-synthesis-reversiblelogic/51676?camid=4v1 This title is available in InfoSci-Journals, InfoSci-Journal Disciplines Computer Science, Security, and Information Technology. Recommend this product to your librarian: www.igi-global.com/e-resources/libraryrecommendation/?id=2
منابع مشابه
A Fast Symbolic Transformation Based Algorithm for Reversible Logic Synthesis
We present a more concise formulation of the transformation based synthesis approach for reversible logic synthesis, which is one of the most prominent explicit ancilla-free synthesis approaches. Based on this formulation we devise a symbolic variant of the approach that allows one to find a circuit in shorter time using less memory for the function representation. We present both a BDD based a...
متن کاملEfficient Genetic Based Methods for Optimizing the Reversible and Quantum Logic Circuits
Various synthesis methods have been proposed in the literature for reversible and quantum logic circuits. However, there are few algorithms to optimize an existing circuit with multiple constraints simultaneously. In this paper, some heuristics in genetic algorithms (GA) to optimize a given circuit in terms of quantum cost, number of gates, location of garbage outputs, and delay, are proposed. ...
متن کاملEfficient Genetic Based Methods for Optimizing the Reversible and Quantum Logic Circuits
Various synthesis methods have been proposed in the literature for reversible and quantum logic circuits. However, there are few algorithms to optimize an existing circuit with multiple constraints simultaneously. In this paper, some heuristics in genetic algorithms (GA) to optimize a given circuit in terms of quantum cost, number of gates, location of garbage outputs, and delay, are proposed. ...
متن کاملBDS : A BDD - Based Logic Optimization System
This paper describes a novel logic decomposition theory and a practical logic synthesis system, BDS. It is based on a new binary decision diagrams (BDD) decomposition technique which supports all types of decomposition structures, including AND, OR, XOR, and complex MUX, both algebraic and Boolean. As a result, the method is very efficient in synthesizing both AND/OR and XOR-intensive functions...
متن کاملReversible Logic Multipliers: Novel Low-cost Parity-Preserving Designs
Reversible logic is one of the new paradigms for power optimization that can be used instead of the current circuits. Moreover, the fault-tolerance capability in the form of error detection or error correction is a vital aspect for current processing systems. In this paper, as the multiplication is an important operation in computing systems, some novel reversible multiplier designs are propose...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- Int. J. of Applied Metaheuristic Computing
دوره 1 شماره
صفحات -
تاریخ انتشار 2010